# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-3dengine
pkgver=0_git20191116
pkgrel=0
_commit="5b2684383d1d5c7e109c660e4c5cc4b27825d98b"
pkgdesc="3D engine for libretro GL with additional features"
url="https://github.com/libretro/libretro-3dengine"
arch="all"
license="GPL-3.0-only"
makedepends="mesa-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-3dengine/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-3dengine-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 3dengine_libretro.so "$pkgdir"/usr/lib/libretro/3dengine_libretro.so
}

sha512sums="82eacef60d2e3983f8c6b862d53d592fd089b3a8d8403f62ef95d6d663ff3cfd53c07dc99ead2765a5751a89f53b5d26537880427b9c0b18af46d01b69c7ec0f  libretro-3dengine-5b2684383d1d5c7e109c660e4c5cc4b27825d98b.tar.gz"
